package com.feiyuan.modules.sys.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.feiyuan.common.utils.PageUtils;
import com.feiyuan.common.utils.Query;

import com.feiyuan.modules.sys.mapper.AppInfoDao;
import com.feiyuan.modules.sys.entity.AppInfoEntity;
import com.feiyuan.modules.sys.service.AppInfoService;


@Service("appInfoService")
public class AppInfoServiceImpl extends ServiceImpl<AppInfoDao, AppInfoEntity> implements AppInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AppInfoEntity> page = this.page(
                new Query<AppInfoEntity>().getPage(params),
                new QueryWrapper<AppInfoEntity>()
        );

        return new PageUtils(page);
    }

}